package com.apartment.own.request.house;

import com.apartment.common.core.page.PageDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author sxy
 * @version 1.0
 * @date 2020/8/25 0025 下午 5:22
 */
@Data
public class HouseQuery  {

    @ApiModelProperty(value = "整租")
    private Integer leaseMode;

    @ApiModelProperty(value = "小区名字")
    private String housingEstate;

    @ApiModelProperty(value = "查询词")
    private String keyWord;

    @ApiModelProperty(value = "选择项目")
    private Integer checked;



 /*   *//**
     * 出租类型 1-整租,2-合租
     *//*
    private Integer houseStatus;
    *//**
     * 小区(模糊搜索)
     *//*
    private String residential;
    *//**
     * 多条件搜索 门牌号???(房间号),小区名,房源编号,租客手机号,租客姓名
     *//*
    private String conditionsSearch;
    *//**
     * 房源状态 房源状态字典表 在租,空房可租等
     *//*
    private Integer houseType;
    *//**
     * 业务状态  做业务状态字典表 有欠款,已预订等标签
     *//*
    private BusinessType businessType;
    *//**
     *到期时间
     *//*
    private String expirationTime;

    *//**
     *房屋居室 1室两厅
     *//*
    private String bedRoom;

    *//**
     *定价范围
     *//*
    private String pricing;

    *//**
     * 房屋面积
     *//*
    private String acreage;

    *//**
     *空置时间
     *//*
    private String emptyTime;

    public enum BusinessType{
        haveBalance("有欠款"),
        forCollection("待收款"),
        reserved("已预订"),
        contractPendingApproval("合同待审批"),
        tenantIsSigningUp("租客签约中"),
        willMoveIn("将搬入"),
        theDeparture("即将离店"),
        overdueCheckOut("逾期未退房"),
        failedToSettleTheRent("退租未结账");
        public String name;
        BusinessType(String name){
            this.name=name;
        }
    }*/

}
